﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace MotorcycleStore.DomainModel
{
	public class Category
	{
		public virtual int? Id { get; set; }

		[Required]
		[StringLength(32)]
		public virtual string Name { get; set; }

		[Required]
		[StringLength(128)]
		[DataType(DataType.MultilineText)]
		public virtual string Description { get; set; }

		public virtual ICollection<Motorcycle> Motorcycles { get; set; }
	}
}
